﻿using EkStudio.com.bean.xml.reflection;
using EkStudio.com.bean.xml.RootInterface;

namespace EkStudio.com.bean.xml.BillModule
{
    public class BillModuleAdvanced:BillObjectInterface
    {
        private bool search = false;

        private bool picView = false;

        private string imageField;

        private string moduleIcon = "";

        private bool dyMsgEnable = false;

        private BillModuleDyMessage dyBody = null;


        [Xml("isSearch")]
        public bool Search
        {
            get
            {
                return search;
            }

            set
            {
                search = value;
            }
        }
        [Xml("picView")]
        public bool PicView
        {
            get
            {
                return picView;
            }

            set
            {
                picView = value;
            }
        }
        [Xml("imageField")]
        public string ImageField
        {
            get
            {
                return imageField;
            }

            set
            {
                imageField = value;
            }
        }
        [Xml("moduleIcon")]
        public string ModuleIcon
        {
            get
            {
                return moduleIcon;
            }

            set
            {
                moduleIcon = value;
            }
        }

        [Xml]
        public bool DyMsgEnable
        {
            get { return dyMsgEnable; }
            set { dyMsgEnable = value; }
        }

        [XmlElement]
        public BillModuleDyMessage DyBody
        {
            get { return dyBody; }
            set { dyBody = value; }
        }

        [XmlTransient]
        public object ParentBean
        {
            get
            {
                return null;

            }

            set
            {
                
            }
        }

        

        public object Clone()
        {
            return new BillModuleAdvanced(); ;
        }
    }
}
